import request from '@/utils/request'

export function getSetting(name) {
  return request({
    url: '/pay/getByName',
    method: 'get',
    params: { ...name }
  })
}

export function saveSetting(data) {
  return request({
    url: '/pay/modify',
    method: 'post',
    data: data
  })
}